<div class="list">
    <table>
        <thead>
            <tr>
                <g:sortableColumn property="serialNumber" title="Serial Number" titleKey="marketType.serialNumber" />
                <g:sortableColumn property="name" title="Name" titleKey="marketType.name" />
                <g:sortableColumn property="active" title="Active" titleKey="marketType.active" />
            </tr>
        </thead>
        <tbody>
        <g:each in="${marketTypeInstanceList}" status="i" var="marketTypeInstance">
            <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                <td><g:link action="show" id="${marketTypeInstance.id}">${fieldValue(bean: marketTypeInstance, field: "serialNumber")}</g:link></td>
                <td><g:link action="show" id="${marketTypeInstance.id}">${fieldValue(bean: marketTypeInstance, field: "name")}</g:link></td>
                <td><g:link action="show" id="${marketTypeInstance.id}"><g:formatBoolean boolean="${marketTypeInstance.active}" /></g:link></td>
            </tr>
        </g:each>
        </tbody>
    </table>
</div>
